/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.dpy.appmvdpy.Models.Validators;

import com.dpy.appmvdpy.Models.FormaPagamento;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;

/**
 *
 * @author Lilli
 */
@Component
@Scope(value="request")
public class FormaPagamentoValidator extends DefaultValidator<FormaPagamento> {
   
    @Override
    public boolean supports(Class<?> type) {
        return FormaPagamento.class.isAssignableFrom(type);
    }

    @Override
    public void validate(Object o, Errors errors) {
      
    }  
}
